package com.baitengsoft.amonitor.patentsiteadmin.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

/**
 * 角色管理
 * 
 * @author KennyGu

 */
@Controller
@RequestMapping("/sys")
public class SysHomeController {
	/**
	 * 首页测试
	 */
	@RequestMapping("/test")
	public String index(ModelMap map){
		map.addAttribute("welcomeMsg", "欢迎光临！！！");
	return "test";
	}




	@RequestMapping("/home")
	public String home(Model model){
		model.addAttribute("a",123);
		return "/home/index";
	}


	@RequestMapping("/main")
	public String main(Model model){

		return  "/home/main";
	}


}
